package com.gykj.redis;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration;
import org.springframework.boot.builder.SpringApplicationBuilder;

//@EnableDiscoveryClient
@SpringBootApplication(exclude={DataSourceAutoConfiguration.class,HibernateJpaAutoConfiguration.class})
public class RedisApplication {

	protected static Logger logger = LoggerFactory.getLogger(RedisApplication.class);

	/**
	 * Main Start
	 */
	public static void main(String[] args) {
		new SpringApplicationBuilder(RedisApplication.class).web(true).run(args);
		logger.warn(RedisApplication.class.getName()+ "============= SpringBoot Start Success =============");
	}
}
